<template>
	<view class="login_content">
		<view class="logo">
			<image src="@/static/imge/logo.jpg" class="imgs" mode=""></image>
			<view class="logo-1x">
				四会顺风车公交小程序
			</view>
			<view class="logo-1x" v-if="version">
				V{{version}}
			</view>
		</view>

		<view class="login_form">
			<view class="login_form_row" @click="tbps('/pagesB/UserAgreement/UserAgreement')">
				<view class="login_form-1">
					用户注册及使用小程序隐私协议
				</view>
				<view class="iconfont iconxiaojiantou">

				</view>

			</view>
			<view class="login_form_row" style="border: none;">
				<view class="login_form-1" @click="tbps('/pagesB/PassengerNotice/PassengerNotice')">
					顺风车乘客须知
				</view>
				<view class="iconfont iconxiaojiantou">

				</view>
			</view>
		</view>
		<view class="bottom">
			四会市交通实业有限公司
		</view>

	</view>
</template>

<script>
	export default {
		data() {
			return {
				version: ''
			}
		},
		onLoad(option) {
			this.version = this.$store.state.version
		},
		methods: {
			tbps(e) {
				uni.navigateTo({
					url: e
				});
			},
		}
	}
</script>

<style lang="scss" scoped>
	.login_content {
		height: 100vh;
		background-color: #fff;
	}

	.login_content {
		.logo {
			text-align: center;
			padding-top: 150upx;

			.imgs {
				width: 250upx;
				height: 173upx;
			}

			.logo-1x {
				font-size: 30upx;
				font-weight: 500;
				margin-top: 20upx;
			}
		}
	}

	.login_form {
		background-color: #f7f7f7;
		margin: 0 40upx;
		padding: 0 30upx;
		border-radius: 24upx;
		margin-top: 100upx;

		.login_form_row {
			display: flex;
			align-items: center;
			height: 110upx;
			border-bottom: 2upx solid #ebebeb;

			.iconfont {
				font-size: 32upx;
				margin-left: auto;
				color: #ccc;
			}

			.login_form-1 {
				flex: 1;
				font-size: 30upx;
			}
		}
	}
	.bottom{
		width: 100%;
		text-align: center;
		font-size: 30upx;
		position: fixed;
		bottom: 100upx;
		color: #333;
	}
</style>